	function shutAllPages($scope){
		$scope.mainShow=false;
		$scope.accManShow=false;
		$scope.accountShow=false;
		$scope.inboxShow=false;
		$scope.postboxShow=false;
		$scope.userInfoShow=false;
		$scope.sendInfoShow=false;
		$scope.mainPostInfoShow = false;
		$scope.mainInInfoShow=false;
		$scope.mainChatShow=false;
		$scope.changeInfoShow=false;
	}
	
	function shutOthers($scope){
		var checkedOfAll = $("#selectAll").prop("");
		$("input[name='subCheck']").prop("");				
	}
	
    function include_js(file) {          
        var _doc = document.getElementsByTagName('body')[0];          
        var js = document.createElement('script');          
        js.setAttribute('type', 'text/javascript');           
        js.setAttribute('src', file);           
        _doc.appendChild(js);          
        if (document.all) { //如果是IE                
            js.onreadystatechange = function () {     
                alert("state="+js.readyState);  
                if (js.readyState == 'loaded' || js.readyState == 'complete') {                           
/*                    alert('IE6、IE7 support js.onreadystatechange');   
                    alert($.fn) ;  */
                }               
            }          
        } else {                 
            js.onload = function () {                            
//                alert('Firefox、chrome and others support js.onload');                 
            }           
        }    
    } 
